<?php if($data){ ?>
<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">CHỦNG LOẠI HÀNG</p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">
                <!-- gio hang -->
                	<form name="update" action="" method="post" >
							<div id="con_giohang">
                            	<table width="570" cellspacing="0" cellpadding="0" border="1" class="table_cart">
                                      <tr class="bg_cart_giohang" height="30px" >
                                       <td width = "200" valign = "top"> <div align = "center"> <b> Tên chủng loại hàng </b> </div> </td>
                                    <td width = "100" valign = "top"> <div align = "center"> <img src="public/images/b_edit.png"/> Sửa</div> </td>
                                    <td width = "100" valign = "top"> <div align = "center"> <img src="public/images/b_drop.png"/> Xóa </div> </td>
                                      </tr>
                                      <tr>
                                     <?php foreach ($data['list'] as $key => $value) { ?>
			<td width = "200" valign = "top" align = "center"> <?php echo $value['TenCL'];?> </td>
				
				<td width = "100" valign = "top" align = "center"> <div align = "center"> 
                <a href = "admin.php?mod=updatechungloaihang&ma= <?php echo $value['MaCL'];?>"> Sửa </a></div> </td>
				<td width = "100" valign = "top" align = "center"> <div align = "center"> 
                <a href = "admin.php?mod=delchungloaihang&ma= <?php echo $value['MaCL'];?>"> Xóa </a> </div> </td>
					</tr>
		<?php } ?>
		</table>
                  </div>
                           
					</form>
                    <!-- end -->
                </div>
           </div>
           <?php }?>